package com.study.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
    //评论id
    private Long id;
    //用户id
    private Long userId;
    //活动id
    private Long activityId;
    //评论内容
    private String commentDetail;
    //订单id
    private Long orderId;
    //评论时间
    private LocalDateTime createTime;
    //排序
    private Integer sort;
}
